package net.zhengxinyun.performance.App.service.EvalScoreMag;

import net.zhengxinyun.performance.App.entity.EvaluateIndexEnrity;
import net.zhengxinyun.performance.App.entity.EvaluateScoreEntity;
import net.zhengxinyun.performance.filter.EvaluateIndexFilter;
import net.zhengxinyun.performance.filter.EvaluateScoreFilter;

import java.io.IOException;
import java.util.List;

public interface EvalScoreMagService {

    int addEvaMag(EvaluateIndexEnrity enrity);
    int delEvaMag(Long id);
    int updEvaMag(EvaluateIndexEnrity enrity);
    List<EvaluateIndexFilter> queryEvaMag(EvaluateIndexFilter filter);


    List<EvaluateScoreEntity> queryEvainfo(Long evaId,String name);
    int addEvaScore(EvaluateScoreEntity enrity);
    int delEvaScore(Long id);
    int updEvaScore(EvaluateScoreEntity enrity);

    List<EvaluateScoreFilter> queryEvaScore(EvaluateScoreFilter filter);


    int batchSaveEvaScore(List<EvaluateScoreEntity> lists);

    int saveOrUpdateEvaScore(EvaluateScoreEntity entity);
    List<EvaluateScoreEntity> getDataUnionSys(String connects, Long leadId, String criteriaType) throws IOException;


    int updateScoreByPrimaryKeySelective(EvaluateScoreEntity entity);

}
